Api.WriteAxisAlias method
Writes an alias index into an axis. The alias index allows you to reorder the list of axes if the cabling doesn't match the program.
Namespace: IntervalZero.KINGSTAR.Local.Api
Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0
Syntax
public KsError WriteAxisAlias(
int Index,
int Alias
)
Public Function WriteAxisAlias(
Index As Integer,
Alias As Integer
) As KsError
Parameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Alias
Type: int
The alias index for the axis to replace the index in the axis list. Indexes are zero based.
Return value
A return code of a method.
Remarks
- Reorders axes. Use it after the KINGSTAR Subsystem is started.
- The alias index can be outside the actual index range of the axes.
Usable EtherCAT states
ecatOP
Examples
N/A
See also